package org.jeecg.modules.product.basics.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 工艺清单
 * @Author: jeecg-boot
 * @Date:   2024-07-07
 * @Version: V1.0
 */
@Data
@TableName("tb_basics_technology")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="工艺清单")
public class TbBasicsTechnology implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
	/**创建人*/
    @Schema(description = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private Date createTime;
	/**更新人*/
    @Schema(description = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @Schema(description = "所属部门")
    private String sysOrgCode;
	/**工艺编码*/
	@Excel(name = "工艺编码", width = 15)
    @Schema(description = "工艺编码")
    private String number;
	/**生产工艺名称*/
	@Excel(name = "生产工艺名称", width = 15)
    @Schema(description = "生产工艺名称")
    private String name;
	/**反应类型*/
	@Excel(name = "反应类型", width = 15)
    @Schema(description = "反应类型")
    private String reactionType;
	/**重点监控装置*/
	@Excel(name = "重点监控装置", width = 15, dictTable = "tb_base_risk_device", dicText = "name", dicCode = "id")
	@Dict(dictTable = "tb_base_risk_device", dicText = "name", dicCode = "id")
    @Schema(description = "重点监控装置")
    private String riskDeviceId;
	/**重点监控单元*/
	@Excel(name = "重点监控单元", width = 15, dictTable = "tb_base_risk_unit", dicText = "risk_unit_name", dicCode = "id")
	@Dict(dictTable = "tb_base_risk_unit", dicText = "risk_unit_name", dicCode = "id")
    @Schema(description = "重点监控单元")
    private String riskUnitId;
	/**最终产品*/
	@Excel(name = "最终产品", width = 15)
    @Schema(description = "最终产品")
    private String finalProduct;
	/**最终产品物质形态*/
	@Excel(name = "最终产品物质形态", width = 15)
    @Schema(description = "最终产品物质形态")
    private String finalProductMediumForm;
	/**中间产品*/
	@Excel(name = "中间产品", width = 15)
    @Schema(description = "中间产品")
    private String intermediateProduct;
	/**中间产品物质形态*/
	@Excel(name = "中间产品物质形态", width = 15, dicCode = "mediumForm")
	@Dict(dicCode = "mediumForm")
    @Schema(description = "中间产品物质形态")
    private String intermediateProductForm;
	/**工艺危险特点*/
	@Excel(name = "工艺危险特点", width = 15)
    @Schema(description = "工艺危险特点")
    private String processHazardCharacteristics;
	/**工艺所在地址*/
	@Excel(name = "工艺所在地址", width = 15)
    @Schema(description = "工艺所在地址")
    private String processLocation;
	/**工艺控制参数*/
	@Excel(name = "工艺控制参数", width = 15)
    @Schema(description = "工艺控制参数")
    private String processControlParameter;
	/**工艺控制方式*/
	@Excel(name = "工艺控制方式", width = 15)
    @Schema(description = "工艺控制方式")
    private String processControlMode;
	/**投用日期*/
	@Excel(name = "投用日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "投用日期")
    private Date sserviceTime;
	/**重点监控工艺参数*/
	@Excel(name = "重点监控工艺参数", width = 15)
    @Schema(description = "重点监控工艺参数")
    private String processParameter;
	/**操作温度*/
	@Excel(name = "操作温度", width = 15)
    @Schema(description = "操作温度")
    private String operatingTemperature;
	/**操作压力*/
	@Excel(name = "操作压力", width = 15)
    @Schema(description = "操作压力")
    private String operatingPressure;
	/**是否重点监管化工工艺*/
	@Excel(name = "是否重点监管化工工艺", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @Schema(description = "是否重点监管化工工艺")
    private String isKeySupervision;
	/**岗位操作人数*/
	@Excel(name = "岗位操作人数", width = 15)
    @Schema(description = "岗位操作人数")
    private String operatorsNumber;
	/**持证人数*/
	@Excel(name = "持证人数", width = 15)
    @Schema(description = "持证人数")
    private String cardholdersNumber;
	/**设计单位*/
	@Excel(name = "设计单位", width = 15)
    @Schema(description = "设计单位")
    private String designCompany;
	/**设计单位资质等级*/
	@Excel(name = "设计单位资质等级", width = 15)
    @Schema(description = "设计单位资质等级")
    private String designCompanyAptitudeLevel;
	/**工艺系统简况*/
	@Excel(name = "工艺系统简况", width = 15)
    @Schema(description = "工艺系统简况")
    private String processSystemBrief;
	/**自动控制措施*/
	@Excel(name = "自动控制措施", width = 15)
    @Schema(description = "自动控制措施")
    private String automaticControlMeasure;
	/**资质等级描述*/
	@Excel(name = "资质等级描述", width = 15)
    @Schema(description = "资质等级描述")
    private String qualificationLevelDescription;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "normalOrStop")
	@Dict(dicCode = "normalOrStop")
    @Schema(description = "状态")
    private String status;
	/**上传文件*/
	@Excel(name = "上传文件", width = 15)
    @Schema(description = "上传文件")
    private String doc;
	/**上传图片*/
	@Excel(name = "上传图片", width = 15)
    @Schema(description = "上传图片")
    private String img;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @Schema(description = "租户id")
    private String tenantId;
}
